﻿using MESBaseis.Domain.BaseEntities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MESBaseis.Domain.ZSHH
{
    /// <summary>
    /// 生产物品
    /// </summary>
    public class ProductedItem : BaseModel
    {
        /// <summary>
        /// 生产计划ID
        /// </summary>
        public int ProductionPlanId { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        public string ItemNumber { get; set; } = string.Empty;

        /// <summary>
        /// 物品名称
        /// </summary>
        public string ItemName { get; set; } = string.Empty;

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; } = string.Empty;

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;

        /// <summary>
        /// 物品类别 (原材料、半成品、成品)
        /// </summary>
        public string ItemCategory { get; set; } = string.Empty;

        /// <summary>
        /// 物品分类 (电子产品、家具、衣物、食品、化妆品等)
        /// </summary>
        public string ItemClassification { get; set; } = string.Empty;

        /// <summary>
        /// 品牌
        /// </summary>
        public string? Brand { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 详情日期
        /// </summary>
        public DateTime? DetailDate { get; set; }

        /// <summary>
        /// 主单位数量
        /// </summary>
        public int? MainUnitQuantity { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
    }
}
